import vue from 'vue'
let vm = new vue();

export const successAlert = msg =>{
    vm.$message({
        message: msg,
        type: 'success'
    })
}

export const errorAlert = msg =>{
    vm.$message({
        message: msg,
        type: 'warning'
    })
}